import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Register from '@/components/register'
import Login from '@/components/login'
import Zhuye from '@/components/zhuye'
import Bjziliao from '@/components/bjziliao'
import Gerenzx from '@/components/gerenzx'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/zhuye',
      name: 'Zhuye',
      component: Zhuye
    },
    {
      path: '/bjziliao',
      name: 'Gerenziliao',
      component:Bjziliao
    },
    {
      path: '/gerenzx',
      name: 'Gerenzx',
      component:Gerenzx
    }
  ],
  
   mode:'history'

})

